package com.sj.purchase.modules.cost.domain.price;

import javax.persistence.EmbeddedId;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created by yangrd on 2017/7/21.
 */
@Entity
@Table(name = "sku_avg_price")
public class SkuAvgPrice {

	@EmbeddedId
	private SkuAvgPriceId id;

	private double price;

	public SkuAvgPriceId getId() {
		return id;
	}

	public SkuAvgPrice setId(SkuAvgPriceId id) {
		this.id = id;
		return this;
	}

	public double getPrice() {
		return price;
	}

	public SkuAvgPrice setPrice(double price) {
		this.price = price;
		return this;
	}
}
